﻿using Mt.Site.Core.Navigations.Entities;
using Mt.Site.Core.Storage;
using Mt.Site.Core.Synchronization.Data;
using System;

namespace Mt.Site.Core.Synchronization.Navigations
{
    public interface IMenuInfoStore
    {
        Guid CreateConfigSync(MenuConfig fromEntity, SynchorizeBaseStore input);
        Guid UpdateConfigSync(MenuConfig toEntity, MenuConfig fromEntity);

        Guid CreateChannelObjectSync(ChannelObject fromEntity, SynchorizeBaseStore input, Guid menuId);
        Guid UpdateChannelObjectSync(ChannelObject toEntity, ChannelObject fromEntity);
    }
}
